package com.dingding.transfer.stamper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (DeviceMapper)表实体类
 *
 * @author makejava
 * @since 2021-04-08 10:58:56
 */
@SuppressWarnings("serial")
@Data
public class DeviceMapper extends Model<DeviceMapper> {
    @TableId(type= IdType.INPUT)
    private String uuid;

    private String deviceName;
    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.uuid;
    }
}
